#ifndef LISTSHEET_H
#define LISTSHEET_H
#include <QTabWidget>
#include <QLabel>
#include <QToolBar>
#include <QListWidget>
#include <QAction>
#include <QComboBox>
#include <QLineEdit>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include "calc.h"
#include "diceroller.h"
#include "sheetdisplay.h"

class SheetCabinet : public QTabWidget
{
    Q_OBJECT
public:
    SheetCabinet(QWidget *parent=0);
public slots:

private slots:
    //void showSheet(const QString &text);
    //void showFiltred(const QString &text);
private:
    QWidget *archive;
    QToolBar *showBar;
    QAction *showAll;
    QLineEdit *filterLineEdit;
    QListWidget *listSheets;
    QLineEdit *charName;
    QComboBox *system;
    QPushButton *createChar;
    QHBoxLayout *newCharL;
    QVBoxLayout *archiveL;
    //tab2
    QWidget *viewsheet;
    SheetDisplay *sheetDisplay;
    QVBoxLayout *sheetL;
    //tab3
    QWidget *tools;
    DiceRoller *diceroller;
    Calc *calc1;
    Calc *calc2;
    Calc *calc3;
    QVBoxLayout *toolsL;
    QHBoxLayout *calcsL;
};
#endif // LISTSHEET_H
